package com.legendframework.dao.wrapper.enums;

/**
 * 条件操作符
 */
public enum Operator {
    EQ("="),
    NE("!="),
    LIKE("LIKE"),
    NOT_LIKE("NOT LIKE"),
    LLIKE("LLIKE"),
    RLIKE("RLIKE"),
    GT(">"),
    LT("<"),
    GE(">="),
    LE("<="),
    IN("IN"),
    NOT_IN("NOT IN"),
    NULL("IS NULL"),
    NOT_NULL("IS NOT NULL"),
    OR("OR"),
    AND("AND"),
    BRACKET(null),
    ;

    private String xpression;

    Operator(String xpression) {
        this.xpression = xpression;
    }

    public String getXpression() {
        return xpression;
    }
}
